<LINK href="http://cms.f.itc.cn/upload/ihome/js/calendar/css/calendar.css" type="text/css" rel="stylesheet" />
<LINK href="http://cms.f.itc.cn/upload/ihome/js/calendar/css/alternate.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src='http://cms.f.itc.cn/upload/ihome/js/calendar/mootools.js'></script>
<script type="text/javascript" src='http://cms.f.itc.cn/upload/ihome/js/calendar/calendar.rc4.js'></script>
			<div class="box02_1">
				<div class="search02 clear">
				<form action="" method="get">
					时间段：<input type="text" class="in2" style="width:70px;" id="begin_time" size="10" name="start" value='<{$start}>' /> <input type="text" class="in2" style="width:70px;" id="end_time" size="10" name="end" value='<{$end}>' />
					<input type="submit" value="查询" />
				</form>
				</div>
				<span style="font-size:16px;">商品概况统计：</span>

                <div class="box02_Tab">
                	<div class="table01">
                    	<table cellpadding="0" cellspacing="0" width="100%" border="0" id="table">
                        <tr class="th">
                        <th><div>日期</div></th>
                        <th><div><span title="已通过商家总商品数 | 未通过商家总商品数">总数</span></div></th>
						<th><div><span title="已通过商家新商品数 | 未通过商家新商品数">新增</span></div></th>
						<th><div><span title="已通过商家总上架数 | 未通过商家总上架数">总上架</span></div></th>
						<th><div><span title="已通过商家日上架数 | 未通过商家日上架数">日上架</span></div></th>
						<th><div><span title="已通过商家总下架数 | 未通过商家总下架数">总下架</span></div></th>
						<th><div><span title="已通过商家日下架数 | 未通过商家日下架数">日下架</span></div></th>
						<th><div><span title="已通过商家总违规数 | 未通过商家日违规数">总违规</span></div></th>
						<th><div><span title="已通过商家日违规数 | 未通过商家日违规数">日违规</span></div></th>
						<th><div><span title="已通过商家日调价数 | 未通过商家日调价数">调价</span></div></th>
                        </tr>
						<{foreach from=$data_list_new key=k item=item}>
						<tr>
   						<td><{$k}></td>
						<td><{$item.1.total}> | <{$item.0.total}></td>
						<td><{$item.1.new}> | <{$item.0.new}></td>
						<td><{$item.1.valid_s}> | <{$item.0.valid_s}></td>
						<td><{$item.1.valid}> | <{$item.0.valid}></td>
						<td><{$item.1.invalid_s}> | <{$item.0.invalid_s}></td>
						<td><{$item.1.invalid}> | <{$item.0.invalid}></td>
						<td><{$item.1.breakrules_s}> | <{$item.0.breakrules_s}></td>
						<td><{$item.1.breakrules}> | <{$item.0.breakrules}></td>
						<td><{$item.1.price}> | <{$item.0.price}></td>
						</tr>
						<{/foreach}>
                        </table>
                    </div>
                </div>

                <div class="box02_Tab">
                	<div class="table01">
                    	<table cellpadding="0" cellspacing="0" width="100%" border="0" id="table">
                        <tr class="th">
                        <th><div>月份</div></th>
                        <th><div><span title="已通过商家新增数 | 未通过商家新增数">新增</span></div></th>
						<th><div><span title="已通过商家上架操作数 | 未通过商家上架操作数">上架</span></div></th>
						<th><div><span title="已通过商家下架操作数 | 未通过商家下架操作数">下架</span></div></th>
						<th><div><span title="已通过商家违规数 | 未通过商家违规数">违规</span></div></th>
						<th><div><span title="已通过商家调价操作数 | 未通过商家调价操作数">调价</span></div></th>
                        </tr>
						<{foreach from=$month_new key=key item=item}>
						<tr>
   						<td><{$key}></td>
						<td><{$item.1.new}> | <{$item.0.new}></td>
						<td><{$item.1.valid}> | <{$item.0.valid}></td>
						<td><{$item.1.invalid}> | <{$item.0.invalid}></td>
						<td><{$item.1.breakrules}> | <{$item.0.breakrules}></td>
						<td><{$item.1.price}> | <{$item.0.price}></td>
						</tr>
						<{/foreach}>
                        </table>
                    </div>
                </div>








				<br /> <br /> <br />
				<span style="font-size:16px;">老数据：</span>
                <div class="box02_Tab">
                	<div class="table01">
                    	<table cellpadding="0" cellspacing="0" width="100%" border="0" id="table">
                        <tr class="th">
                        <th><div>日期</div></th>
                        <th><div>总数</div></th>
						<th><div>新增</div></th>
						<th><div>总上架</div></th>
						<th><div>日上架</div></th>
						<th><div>总下架</div></th>
						<th><div>日下架</div></th>
						<th><div>总违规</div></th>
						<th><div>日违规</div></th>
                        </tr>
						<{foreach from=$data_list item=item}>
						<tr>
   						<td><{$item.ddate}></td>
						<td><{$item.goods_total}></td>
						<td><{$item.goods_today}></td>
						<td><{$item.goods_total_valid}></td>
						<td><{$item.goods_today_valid}></td>
						<td><{$item.goods_total_invalid}></td>
						<td><{$item.goods_today_invalid}></td>
						<td><{$item.goods_total_breakrules}></td>
						<td><{$item.goods_today_breakrules}></td>
						</tr>
						<{/foreach}>
                        </table>
                    </div>
                </div>

                <div class="box02_Tab">
                	<div class="table01">
                    	<table cellpadding="0" cellspacing="0" width="100%" border="0" id="table">
                        <tr class="th">
                        <th><div>月份</div></th>
                        <th><div>新增</div></th>
						<th><div>上架</div></th>
						<th><div>下架</div></th>
						<th><div>违规</div></th>
                        </tr>
						<{foreach from=$month_list item=item}>
						<tr>
   						<td><{$item.month}></td>
						<td><{$item.today}></td>
						<td><{$item.valid}></td>
						<td><{$item.invalid}></td>
						<td><{$item.breakrules}></td>
						</tr>
						<{/foreach}>
                        </table>
                    </div>
                </div>

<script>
window.addEvent('domready', function() {
	myCal = new Calendar({ begin_time: 'Y-m-d'},{classes:['alternate'],navigation:2,tweak:{x:0,y:-20}});
	myCal = new Calendar({ end_time: 'Y-m-d'},{classes:['alternate'],navigation:2,tweak:{x:0,y:-20}});

	$begin_str = '';
	var begin_time = $('begin_time');
	if (begin_time.value == '') begin_time.value = $begin_str;
		begin_time.onfocus = function() {
		this.className = 'in1';
		if(this.value == $begin_str) this.value='';        
	}
	begin_time.onblur = function() {
		this.className='in2';
		if(this.value=='') this.value = $begin_str;
	}

	$end_str = "";
	var end_time = $('end_time');
	if (end_time.value == '') end_time.value = $end_str;
	end_time.onfocus = function() {
	this.className = 'in1';
	if(this.value == $end_str) this.value='';        
	}
	end_time.onblur = function() {
	this.className='in2';
	if(this.value=='') this.value = $end_str;
	}
																								 
});

</script>

